import org.junit.jupiter.api.Test;

import java.time.ZonedDateTime;

/**
 * @program: springcloud
 * 描述：
 * @author: fzn
 * @create: 2022-03-13 15:22
 **/
public class T2 {
    @Test
    public void test() {
        ZonedDateTime zbj = ZonedDateTime.now();
        System.out.println(zbj);
        // 2022-03-13T15:23:27.007+08:00[Asia/Shanghai]
    }
}